package com.education.wisdom.pojo;

import com.education.common.core.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 教学资源库菜单表 pr_jrmenu
 * 
 * @author ruoyi
 * @date 2019-01-08
 */
public class Jrmenu extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private Integer menuId;
	/** 父菜单id */
	private Integer parentId;
	/** 显示排序 */
	private Integer orderNum;
	/** 类型 */
	private String rtype;
	/** 状态 */
	private String visible;
	/** 创建时间 */
	private Date createTime;
	/** 标题 */
	private String title;
	/** 描述 */
	private String rdesc;

	public void setMenuId(Integer menuId) 
	{
		this.menuId = menuId;
	}

	public Integer getMenuId() 
	{
		return menuId;
	}
	public void setParentId(Integer parentId) 
	{
		this.parentId = parentId;
	}

	public Integer getParentId() 
	{
		return parentId;
	}
	public void setOrderNum(Integer orderNum) 
	{
		this.orderNum = orderNum;
	}

	public Integer getOrderNum() 
	{
		return orderNum;
	}
	public void setType(String rtype) 
	{
		this.rtype = rtype;
	}

	public String getType() 
	{
		return rtype;
	}
	public void setVisible(String visible) 
	{
		this.visible = visible;
	}

	public String getVisible() 
	{
		return visible;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setTitle(String title) 
	{
		this.title = title;
	}

	public String getTitle() 
	{
		return title;
	}
	public void setDesc(String rdesc) 
	{
		this.rdesc = rdesc;
	}

	public String getDesc() 
	{
		return rdesc;
	}

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("menuId", getMenuId())
            .append("parentId", getParentId())
            .append("orderNum", getOrderNum())
            .append("rtype", getType())
            .append("visible", getVisible())
            .append("createTime", getCreateTime())
            .append("title", getTitle())
            .append("rdesc", getDesc())
            .toString();
    }
}
